cmake_minimum_required(VERSION 3.5)

project (can)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(SOURCES
    can.h
    can.cpp
    main.cpp
    DJI_Motor.h
    DJI_Motor.cpp
)

add_executable(can ${SOURCES})
target_link_libraries(can pthread atomic)
